//
//  DFCommand.h
//  dfutil
//
//  Created by Tom Booth on 25/06/2009.
//  Copyright 2009 __MyCompanyName__. All rights reserved.
//

#import <Cocoa/Cocoa.h>
#import "DFParameter.h"
#import "DFTypePool.h"


@interface DFCommand : NSObject {
	BOOL returnsRows;
	BOOL createsRows;
	NSString *name;
	NSString *description;
	
	NSMutableArray *parameters;
	NSMutableArray *returnParameters;
}

@property BOOL returnsRows;
@property BOOL createsRows;
@property (copy, readwrite) NSString *name;
@property (copy, readwrite) NSString *description;

- initWithXML:(NSXMLElement*) xml;

@end
